const {config,gulp} = require("./gulp.config.js") ;
const { compileSass } = require('./compileSass.js')

const develop = async () =>{
	console.log("监听任务开始");
	gulp.watch(config.srcPath + 'sass/**/*.{scss,css}', { 
		ignoreInitial: false // 初始化立即开始编译
	}, compileSass); // 编译sass文件,并压缩合并	
}

module.exports = {
	compileSass,
	develop
}

